package com.yricky.indesk.ui.compose

import androidx.compose.material.Icon
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.res.vectorResource

/**
 * @author Yricky
 * @date 2022/1/1
 */

@Composable
fun RIcon(
    modifier: Modifier = Modifier,
    id:Int,
    contentDescription:String
){
    Icon(
        modifier = modifier,
        imageVector = ImageVector.vectorResource(id = id),
        contentDescription = contentDescription
    )
}